package com.oocl.service;

import java.util.List;

import com.oocl.entity.DeliverInfo;

public interface DeliverInfoService {

	//添加客户的配送信息，在Controller中需加上客户的id
	public DeliverInfo addDeliverInfo(DeliverInfo deliverInfo,String cid);
	
	//加载该客户所有的配送信息
	public List<DeliverInfo> loadAllDeliverInfoByCid(String cid);
	
	//根据id删除，用于地址管理
	public void deleteDeliverInfo(String id);
	
	//根据id查找，用于地址删除和查找
	public DeliverInfo loadDeliverInfoById(String id);
	
	//更新地址信息
	public DeliverInfo updateDeliverInfo(DeliverInfo deliverInfo);
	
	//转换
	public DeliverInfo transformDeliverInfo(DeliverInfo deliverInfo);
}
